package com.gpframework.module.manufacture.service;

import com.gpframework.module.manufacture.domain.GpProductionApplication;
import com.gpframework.module.manufacture.domain.req.GpProductionApplicationUpdate;
import com.gpframework.module.manufacture.domain.vo.GpProductionApplicationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpProductionApplication
 * @Author gpframework
 * @Date 2023-12-04
 * @Version 1.0.0
 * @Description 缺货报库存申请Service接口
 */
public interface IGpProductionApplicationService extends IService<GpProductionApplication> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-12-04
     * @Param [lqw]
     * @Return List<GpProductionApplicationVo>
     */
    List<GpProductionApplicationVo> listVo(QueryWrapper<GpProductionApplication> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-12-04
     * @Param [id]
     * @Return GpProductionApplicationVo
     */
    GpProductionApplicationVo getVoById(Long id);

    boolean add(GpProductionApplication gpProductionApplication);

    /**
     * 审核
     * @param gpProductionApplicationUpdate
     * @return
     */
    boolean audit(GpProductionApplicationUpdate gpProductionApplicationUpdate);
}
